vSphere Client Parameters

vSphere Client Parameters

Neither new, nor special, but still not known everywhere. With the vSphere Client you can…

  • automatically login to a vCenter or ESXi host without typing username and password
  • automatically login to a vCenter with the “Use Windows session credentials” option
  • change the display language

To accomplish this, just create or copy a shortcut to the vSphere Client and add the followig parameters:

 

Pass username and password 

"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s <SERVER> -u <USER> -p <PASSWORD>

Use Windows session credentials

"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s <SERVER> -passthroughAuth

 

Change vSphere Client language to english

"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"  -locale en_US

 

The VMWare ESXi / vSphere Infrastructure client allows for command line parameters to auto connect to a VMWare ESXi / vSphere server.

The following command line options are available:

Parameter Description
-i Ignore untrusted certificate
-s <server address> Server address of the ESXi / vSphere host.
-u <username> Username to connect with.
-p <password> Password to connect with.

eg:

VpxClient.exe -i -s 192.168.1.20 -u root -p password